<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>SDL_gpu: GPU_Sector</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SDL_gpu
   &#160;<span id="projectnumber">0.10.0</span>
   </div>
   <div id="projectbrief">A hardware-accelerated, cross-platform 2D graphics API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="SDL__gpu__shapes_8c.html">SDL_gpu_shapes.c</a></li>  </ul>
</div>
</div><!-- top -->
<div class="contents">
<table cellspacing="0" cellpadding="0" border="0">
  <tr>
   <td valign="top">
      <div class="navtab">
        <table>
          <tr><td class="navtab"><a class="qindex" href="SDL__gpu__shapes_8c_a1c4d7075806fa4d80e694ce72d1df806.html#a1c4d7075806fa4d80e694ce72d1df806">CHECK_RENDERER</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="SDL__gpu__shapes_8c_a5012f1d7df710eb054c64a1e15ae681f.html#a5012f1d7df710eb054c64a1e15ae681f">CHECK_RENDERER_1</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="SDL__gpu__shapes_8c_a731cbef9cab0bca1cb331f791f51ca26.html#a731cbef9cab0bca1cb331f791f51ca26">GPU_Arc</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="SDL__gpu__shapes_8c_aa04da9593f47ed24c596df255fd35cbe.html#aa04da9593f47ed24c596df255fd35cbe">GPU_ArcFilled</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="SDL__gpu__shapes_8c_a275ba3a6cc62518ad462203c1992a88d.html#a275ba3a6cc62518ad462203c1992a88d">GPU_Circle</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="SDL__gpu__shapes_8c_a3b83c00257996660ac8aeda9fd6ac70c.html#a3b83c00257996660ac8aeda9fd6ac70c">GPU_CircleFilled</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="SDL__gpu__shapes_8c_a6086f47443e56d045a8c13c0953869f5.html#a6086f47443e56d045a8c13c0953869f5">GPU_Ellipse</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="SDL__gpu__shapes_8c_a488c53bda1cdb4d3eded7628569e3487.html#a488c53bda1cdb4d3eded7628569e3487">GPU_EllipseFilled</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="SDL__gpu__shapes_8c_a6de1d1881296a5db4a015466d77c1b9e.html#a6de1d1881296a5db4a015466d77c1b9e">GPU_GetLineThickness</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="SDL__gpu__shapes_8c_a9799c9892d37b457a4b30ddb623efa91.html#a9799c9892d37b457a4b30ddb623efa91">GPU_Line</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="group__Shapes_gacc01ace693eb6434ab2295456e80c2fd.html#gacc01ace693eb6434ab2295456e80c2fd">GPU_Pixel</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="SDL__gpu__shapes_8c_a0ba5305b6521e241c19e9c54ed0c8842.html#a0ba5305b6521e241c19e9c54ed0c8842">GPU_Polygon</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="SDL__gpu__shapes_8c_a61421d70f530985f39b31bfc21a625d6.html#a61421d70f530985f39b31bfc21a625d6">GPU_PolygonFilled</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="SDL__gpu__shapes_8c_a0ec0052d12153506d37a158a9340aeef.html#a0ec0052d12153506d37a158a9340aeef">GPU_Rectangle</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="SDL__gpu__shapes_8c_a240c4e937d6927278f31d24094d79beb.html#a240c4e937d6927278f31d24094d79beb">GPU_RectangleFilled</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="SDL__gpu__shapes_8c_ad78db044b51d826bf55ad0044aa8d1ab.html#ad78db044b51d826bf55ad0044aa8d1ab">GPU_RectangleRound</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="SDL__gpu__shapes_8c_aa76d1dc7130dc32bbcfe6fca1abb4453.html#aa76d1dc7130dc32bbcfe6fca1abb4453">GPU_RectangleRoundFilled</a></td></tr>
          <tr><td class="navtab"><a class="qindexHL" href="SDL__gpu__shapes_8c_adbfdf45a2b79e99c33fecebe19a1bfdf.html#adbfdf45a2b79e99c33fecebe19a1bfdf">GPU_Sector</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="SDL__gpu__shapes_8c_ad876753c4fa0955ca5dce64740aa42e9.html#ad876753c4fa0955ca5dce64740aa42e9">GPU_SectorFilled</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="SDL__gpu__shapes_8c_adb860f55167ec5cacb06792c541ddb3b.html#adb860f55167ec5cacb06792c541ddb3b">GPU_SetLineThickness</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="SDL__gpu__shapes_8c_a30b5a3870ffb3889b3dbf1a49a761086.html#a30b5a3870ffb3889b3dbf1a49a761086">GPU_Tri</a></td></tr>
          <tr><td class="navtab"><a class="qindex" href="SDL__gpu__shapes_8c_a43b9ae0d8822864b24cccc167eebdd02.html#a43b9ae0d8822864b24cccc167eebdd02">GPU_TriFilled</a></td></tr>
        </table>
      </div>
   </td>
   <td valign="top" class="mempage">
<a class="anchor" id="adbfdf45a2b79e99c33fecebe19a1bfdf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GPU_Sector </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structGPU__Target.html">GPU_Target</a> *&#160;</td>
          <td class="paramname"><em>target</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>inner_radius</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>outer_radius</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>start_angle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>end_angle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Color&#160;</td>
          <td class="paramname"><em>color</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Renders a colored annular sector outline (ring segment). </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">target</td><td>The destination render target </td></tr>
    <tr><td class="paramname">x</td><td>x-coord of center point </td></tr>
    <tr><td class="paramname">y</td><td>y-coord of center point </td></tr>
    <tr><td class="paramname">inner_radius</td><td>The inner radius of the ring </td></tr>
    <tr><td class="paramname">outer_radius</td><td>The outer radius of the ring </td></tr>
    <tr><td class="paramname">start_angle</td><td>The angle to start from, in degrees. Measured clockwise from the positive x-axis. </td></tr>
    <tr><td class="paramname">end_angle</td><td>The angle to end at, in degrees. Measured clockwise from the positive x-axis. </td></tr>
    <tr><td class="paramname">color</td><td>The color of the shape to render </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
    </td>
  </tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Feb 11 2015 20:10:45 for SDL_gpu by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
